hipreme_engine ~master (2025-09-27T13:37:43Z)
Dub
Repo
indexOf
hip
util
array
Returns index of element if it finds or returns -1 if not
int
indexOf
(T[] arr, Q element, int startIndex)
int
indexOf
(T[] arr, T element, int startIndex)
pure nothrow @
nogc
int
indexOf
(
T
)
(
in
T
[]
arr
,
T
element
,
int
startIndex
= 0
)
int
indexOf
(T tuple, V value)
Meta
Source
See Implementation
hip
util
array
functions
array
binarySearch
contains
indexOf
isEmpty
join
lastIndexOf
popFront
printArrayWithoutValues
remove
swapAt
swapElementsFromArray
uninitializedArray
Returns index of element if it finds or returns -1 if not